You are here: Understanding the Meridian object model > About the Document object > The Document object methods > GetLog method

GetLog method

Gets the workflow comment log for the current document object.

Syntax

GetLog() As String

Parameters

This method accepts no parameters.

Return Value

A single string containing the entire Comment property value.

Remarks

This method can be useful to append the workflow history of one document to another that is being replaced or superceded.

Example

Sub DocProjectCopyEvent_AfterReleaseToMaster(Batch, MasterDoc, ProjectCopyChanged)
    MasterDoc.Log Document.GetLog()
    MasterDoc.ApplyPropertyValues
End Sub

www.bluecieloecm.com